package com.qf.purchasing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 招标信息表
 */
@ApiModel(description = "招标信息表")
@Data
@TableName(value = "z_bid_document")
public class BidDocument {
    public static final String COL_BID_ID = "bid_id";
    public static final String COL_APPLY_ID = "apply_id";
    public static final String COL_START_TIME = "start_time";
    public static final String COL_IS_SUBMIT = "is_submit";
    public static final String COL_AGENT_ID = "agent_id";
    public static final String COL_CONTRACT_ID = "contract_id";
    public static final String COL_STATUS = "status";
    /**
     * 招标信息表id
     */
    @TableId(value = "bid_id", type = IdType.INPUT)
    @ApiModelProperty(value = "招标信息表id")
    private Integer bidId;
    /**
     * 招标申请表id
     */
    @TableField(value = "apply_id")
    @ApiModelProperty(value = "招标申请表id")
    private Integer applyId;
    /**
     * 开标单位
     */
    @TableField(value = "start_time")
    @ApiModelProperty(value = "开标单位")
    private Date startTime;
    /**
     * 是否提交，0：未提交，1：已提交
     */
    @TableField(value = "is_submit")
    @ApiModelProperty(value = "是否提交，0：未提交，1：已提交")
    private Integer isSubmit;
    /**
     * 经办人id
     */
    @TableField(value = "agent_id")
    @ApiModelProperty(value = "经办人id")
    private Integer agentId;
    /**
     * 合同表id
     */
    @TableField(value = "contract_id")
    @ApiModelProperty(value = "合同表id")
    private Integer contractId;
    /**
     * 状态，0：已删除，1：未删除
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "状态，0：已删除，1：未删除")
    private Integer status;
}